Developer Documentation

QuickTime 4 API Documentation

QuickTime Movie File Format Specification, May 1996

| Previous | Chapter contents | Chapter top | Next |

Time Code Media Information Atom

The time code media also requires a media information atom. This atom contains information governing how the time code text is displayed. This media information atom is stored in a base media information atom (see "Base Media Information Atoms" for more information). The type of the time code media information atom is 'tcmi' .

The time code media information atom contains the following data elements.

Size
A 32-bit integer that specifies the number of bytes in this time code media information atom.
Type
A 32-bit integer that identifies the atom type; this field must be set to 'tcmi' .
Version
A 1-byte specification of the version of this time code media information atom.
Flags
A 3-byte space for time code media information flags. Set this field to 0.
Text font
A 16-bit integer that indicates the font to use. Set this field to 0 to use the system font. If the Font name field contains a valid name, ignore this field.
Text face
A 16-bit integer that indicates the font's style. Set this field to 0 for normal text. You can enable other style options by using one or more of the following bit masks:
0x0001
Bold
0x0002
Italic
0x0004
Underline
0x0008
Outline
0x0010
Shadow
0x0020
Condense
0x0040
Extend
Text size
A 16-bit integer that specifies the point size of the time code text.
Text color
A 48-bit RGB color value for the time code text.
Background color
A 48-bit RGB background color for the time code text.
Font name
A Pascal string specifying the name of the time code text's font.

© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Next |